package tech.wetech.cms.model;

import org.hibernate.validator.constraints.NotEmpty;

public class BaseInfo {
    private String name;
    private String name2;
    private String address;
    private String zipCode;
    private String recordCode;
    private String phone;
    private String email;
    private String domainName;
    private int indexPicWidth;
    private int indexPicHeight;
    private int indexPicNumber;
    private String desc;


    public int getIndexPicNumber() {
        return indexPicNumber;
    }

    public void setIndexPicNumber(int indexPicNumber) {
        this.indexPicNumber = indexPicNumber;
    }

    public String getDomainName() {
        return domainName;
    }

    public void setDomainName(String domainName) {
        this.domainName = domainName;
    }

    @NotEmpty(message = "网站名称不能为空")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName2() {
        return name2;
    }

    public void setName2(String name2) {
        this.name2 = name2;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getRecordCode() {
        return recordCode;
    }

    public void setRecordCode(String recordCode) {
        this.recordCode = recordCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getIndexPicWidth() {
        return indexPicWidth;
    }

    public void setIndexPicWidth(int indexPicWidth) {
        this.indexPicWidth = indexPicWidth;
    }

    public int getIndexPicHeight() {
        return indexPicHeight;
    }

    public void setIndexPicHeight(int indexPicHeight) {
        this.indexPicHeight = indexPicHeight;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "BaseInfo{" +
                "name='" + name + '\'' +
                ", address='" + address + '\'' +
                ", zipCode='" + zipCode + '\'' +
                ", recordCode='" + recordCode + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", domainName='" + domainName + '\'' +
                ", indexPicWidth=" + indexPicWidth +
                ", indexPicHeight=" + indexPicHeight +
                ", indexPicNumber=" + indexPicNumber +
                ", desc='" + desc + '\'' +
                '}';
    }
}
